package com.hbue.springboot.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 功能：
 * 日期：2025/1/12 15:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbWorker{
    @TableId
    private Integer id;
    private String workerName;
    private Integer workerSalary;
    private Double workerMoney;
    private String workerImage;
    private Date gmtCreate;
    private Date gmtModified;
    private Long version;
    @TableLogic
    private Integer deleted;

    @TableField(exist = false)
    private List<TbWorker> workersList;
}
